<!--box slide right-->
<div class="box_slide left clearfix">
    <div class="head_box_slide">
        <span class="block span_title_slide icon_top_32">LAST CREDITED</span>
    </div>
    <div class="content_box_slide">
    <ul>
        <!-- contnet-->
          <?php
            if(!empty($data)){
                foreach ($data as $data){                    
                    if($data->type){
                        echo '<li class="icon_star_16"><a href="'.base_url().'offer/detail/'.$data->idoff.'" target="_blank"> '.$data->name,'</a></li>';
                    }else{
                        echo '<li class="icon_star_16"><a href="'.base_url().'offer/wall"> '.$data->name,'</a></li>';
                    }
                }
            }
        ?>
        <!-- end content-->
    </ul>    
    </div>
    <div class="bottom_box_slide"></div>
</div>
<!--end box slide right-->					     